package test;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;

import I.O.FileUtils;

public class Demo {
	public static void main(String[] args) {
		String s = "n.java";
		String d = "n1.java";
		File f = new File(s);
		File f1 = new File(d);
		try {
			FileUtils.fileCopy(f, f1);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
